/*
 * Copyright 2008-2012 Centro Andaluz de Innovación y Tecnologías de la
 * Información y las Comunicaciones (CITIC). All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 *
 * Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
 * Tecnológico de Andalucía 29590 - Campanillas, Málaga, Spain
 * or visit www.citic.es, if you need additional information or
 * have any questions.
 */

package es.citic.puedes.youtube.model;

import java.util.ArrayList;
import java.util.List;

/**
 * class that represents the preferences from a YouTube user
 * 
 * 
 */
public class UserPreferences {

	/**
	 * preferences from a YouTube user
	 */
	private List<YouTubePreferences> preferences;

	/**
	 * empty constructor
	 */
	public UserPreferences() {
		preferences = new ArrayList<YouTubePreferences>();
	}

	/**
	 * constructor with parameters
	 * 
	 * @param preferences
	 *            the preferences from an user
	 */
	public UserPreferences(List<YouTubePreferences> preferences) {

		this.preferences = preferences;

	}

	/**
	 * gets the list of preferences from a YouTube user
	 * 
	 * @return the list of YouTube preferences from an user
	 */
	public List<YouTubePreferences> getPreferences() {
		return preferences;
	}

	/**
	 * sets the list of preferences from a YouTube user
	 * 
	 * @param preferences
	 *            the YouTube preferences to set
	 */
	public void setPreferences(List<YouTubePreferences> preferences) {
		this.preferences = preferences;
	}

}
